. as $root | 
  (["| CVE ID        | Severity | Releases | Problem |",
    "| ------------- | -------- | -------- | ------- |"] +
   [$root.cves[] | 
    .id as $cve | 
    "| \($cve)  | \(.severity) | \(($root.cve_releases[$cve] // []) | join(", "))     | \(.problem) |"]) | 
  .[]
